package jwanalytics.ejb.webhouse;

import java.util.Date;

import javax.ejb.Local;

@Local
public interface DateAndTimeFacadeLocal {
	
	/** Below we need the jwanalytics prefix as we are creating and deploying this bean inside a jar file called jwanalytics. 
	 * Class does not exist yet. */
	//public static final String RemoteJNDIName =  "jwanalytics/" + DateAndTimeFacade.class.getSimpleName() + "/remote";
	
	/** . */
	public static final String LocalJNDIName =  "jwanalytics/" + DateAndTimeFacade.class.getSimpleName() + "/local";	
	
	/** . */
	public String getFactCountsPerDateRange(int minDateId, int maxDateId);	
	
	/** Gets the first day of web analytics. */
	public Date getStartDate();	
	
	/**  */
	public Integer getDateDimensionKey(Date dateToFindKey);
}
